package com.eascs.archive.dubbo;


import com.alibaba.dubbo.config.annotation.Service;
import com.eascs.admin.common.service.ICreditArchiveService;
import com.eascs.admin.common.vo.ModelResult;
import com.eascs.app.log.Logger;
import com.eascs.app.log.LoggerFactory;
import com.eascs.placeonfile.service.O2oFileService;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;

/**
 * 征信归档流程
 */
@Service
public class CreditArchiveDubboServiceImpl implements ICreditArchiveService {
	protected final Logger logger = LoggerFactory.getLogger(getClass());
	@Autowired
	O2oFileService fileService;

	@Resource(name = "localCreditArchiveService")
	private ICreditArchiveService creditArchiveService;

	@Override
	public ModelResult<Boolean> startup() {
		return creditArchiveService.startup();
	}

	@Override
	public ModelResult<Boolean> startupNew() {
		return creditArchiveService.startupNew();
	}
}
